package demo.jackson.impl;

import com.fasterxml.jackson.annotation.JsonTypeInfo;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.annotation.JsonTypeIdResolver;

import java.util.List;

import demo.jackson.IdResolver;
import demo.jackson.JacksonInterface;
import demo.jackson.serialize.PayloadDeserialize;
import demo.jackson.serialize.PayloadSerialize;
import lombok.Data;

/**
 *
 */
@Data
@JsonSerialize(using = PayloadSerialize.class)
@JsonDeserialize(using = PayloadDeserialize.class)
public class Payload {

    public static final String PAYLOAD_FILED_NAME = "payload";

    private JacksonInterface payload;
}
